package edu.zut.cs.software.perfect.teacher.service;

import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.base.service.GenericTreeManager;
import edu.zut.cs.software.perfect.process.domain.CourseProcess;
import edu.zut.cs.software.perfect.teacher.domain.Department;

/**
 * @ClassName DepartmentManager
 * @Description TODO
 * @Author lixianglong
 * @Date 2020年6月2日 下午11:15:06
 * @Version 1.0
 */
public interface DepartmentManager extends GenericTreeManager<Department,Long>{
	List<Department> findAll();
	
	Optional<Department> findByCourseId(Long courseId);
	
	Boolean deleteById(Long courseId);
}
